.ip-input {
  display: flex;
}

.line {
  margin: 0 10px;
}

.ip-address {
  display: flex;
  align-items: center;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  width: 189px;

  li {
    position: relative;
    height: 32px;
    margin: 0;
    list-style: none;

    :global(.ant-input) {
      border: none;
      width: 100%;
      height: 100%;
      text-align: center;
      background: transparent;

      &:focus {
        outline: none;
      }
    }
  }
}

.focus-input {
  border-color: #4096ff !important;
  box-shadow: 0 0 4px rgba(58, 132, 255, 0.4);
}

.error-input {
  border-color: #ff4d4f;
}

.point {
  position: absolute;
  bottom: calc(50% - 1px);
  right: 0;
  border-radius: 50%;
  width: 2px;
  height: 2px;
  background: #595959;

  li:last-child & {
    display: none;
  }
}

.ip-segment-input {
  &:focus {
    box-shadow: none;
  }
}
